package com.neuedu.test1029;

public class Testhomework {
	public static void main(String[] args) {
		int a = 6;
		int b = 16;
		int c = a;
		a = b;
		b = c;
		System.out.println("a=" + a);
		System.out.println("b=" + b);
		
		int d = 616;
		int e,f,g,sum;
		e = d/100%10;
		f = d/10%10;
		g = d%10;
		sum = e + f + g;
		System.out.println("sum=" + sum);
		
	}
}
